import React from "react"

export interface List {
	page: number,//页
	psize: number,//条
	key?: string,
	buildingid?: number,
	name?: string,
	houseno?: string,
	mibile?: string,
	begindate?: string,
	enddate?: string,
	state?: number,
	type?: string,
	admin?: string,
	orderno?: string,
}

export interface AddType {
	type: string,
	begindate: string,
	enddate: string,
	price: number,
	buildingid: number,
	houseids: Array<number>
}

export interface HousesList {
	page: number,//页
	psize: number,//条
	buildingid?: number,
	houseno?: string
}

export interface DeleteAll {
	ids: React.Key[]
}

export interface Delete {
	id: number
}